﻿<#assign ctx = request.contextPath />
<#macro paint name>
<div class="suosou">
       <table width="100%" border="0" cellspacing="0" cellpadding="0" >
                <tr>
                   <td width="80" height="35" align="left">商品名称:</td>
                   <td width="80" height="35" align="left"><input class="autoComplete" url="${ctx}/common/autocomplete!matchOwnerGoodsName.action" id="${name}_goodsName" name="${name}_goodsName" type="text" size="20"/></td>
                   <td width="80" height="35" align="center"><input type=button value="查询" class="tj_1" onClick="Assignorder.${name}_query();" name="${name}_btnQuery" id="${name}_btnQuery"/></td>
                   <td height="35"><a class='advance_search' toggle='${name}_advance_filter' href="#">更多查询条件<img src="${ctx}/img/shanxuan_left.gif" align="absmiddle"></a></td>
                   <#if (shop_order_type == Const.TYPE_ORDER_BUY)>
	                   <#if (usertype == Const.TYPE_CHAINHQ)>
		                   <#if name == 'hqreview'>
			                   <td width="250" align="left">日供货量：<div id='ableDay'></div></td>			                   	                  
		                   </#if> 
	                   </#if>
                   </#if> 
                </tr>
			    <tr >
				   <td colspan="5" align="left">
				      <table width="100%" border="0" cellspacing="0" cellpadding="0" id='${name}_advance_filter' style='display:none'>
				      <tr>
				        <td >
				           <@form.paint "${name}_queryForm"/>
				        </td>
				      </tr>
				      </table>
				  </td>
			    </tr>
       </table>
</div>
</#macro>